Add test for Copilot. Reference file from Tomblin.
authorrobertl <robertl>
Wed, 9 Apr 2003 14:10:54 +0000 (14:10 +0000)
committerrobertl <robertl>
Wed, 9 Apr 2003 14:10:54 +0000 (14:10 +0000)
reference/UKultralight.pdb [new file with mode: 0644]
testo

diff --git a/reference/UKultralight.pdb b/reference/UKultralight.pdb
new file mode 100644 (file)
index 0000000..9112b55
Binary files /dev/null and b/reference/UKultralight.pdb differ
diff --git a/testo b/testo
index ccd57c9ecc2afc29d18f54097a2c14335d4a4e05..2ff9ba6433b004c46454c0352e730aaf863f8778 100755 (executable)
--- a/testo
+++ b/testo
@@ -273,3 +273,12 @@ rm -f ${TMPDIR}/mapsend.trk
 ${PNAME} -t -i mapsend -f reference/track/mapsend.trk -o mapsend \
          -F ${TMPDIR}/mapsend.trk
 compare ${TMPDIR}/mapsend.trk reference/track/
+
+#
+# copilot
+#
+rm -f ${TMPDIR}/copilot.pdb
+${PNAME} -i copilot -f reference/UKultralight.pdb -o copilot -F ${TMPDIR}/cop.pdb
+${PNAME} -i copilot -f reference/UKultralight.pdb -o gpx -F ${TMPDIR}/cop1.gpx
+${PNAME} -i copilot -f ${TMPDIR}/cop.pdb -o gpx -F ${TMPDIR}/cop2.gpx
+compare ${TMPDIR}/cop1.gpx ${TMPDIR}/cop2.gpx